Skip to content

Adding third container for jasmine tests to avoid flaky fails #3599

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Mar 5, 2019

Conversation

archmoj
Copy link
Contributor

@archmoj archmoj commented Mar 4, 2019

Fixes #3587.
@plotly/plotly_js

@etpinard
Copy link
Contributor

etpinard commented Mar 4, 2019

Have you tried re-running the tests a few times to see if it actually helps?

@archmoj
Copy link
Contributor Author

archmoj commented Mar 4, 2019

Have you tried re-running the tests a few times to see if it actually helps?

Good call. It quickly passed the very first time; but then I see it may not pass.
So I will try the second step described here: #3587.

SHARDS=($(node $ROOT/tasks/shard_jasmine_tests.js --tag=flaky))

for s in ${SHARDS[@]}; do
retry npm run test-jasmine -- --tags=flaky --skip-tags=noCI
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line should be:

 retry npm run test-jasmine -- "$s"  --tags=flaky --skip-tags=noCI

@etpinard
Copy link
Contributor

etpinard commented Mar 5, 2019

Any updates on this thing?

Even if the tests in test-jasmine3 (still) fail from time to time, this PR will make our rebuild faster as we won't have to re-test all the non-flaky jasmine tests when we have to rebuild.

@archmoj
Copy link
Contributor Author

archmoj commented Mar 5, 2019

Yes. I think it is ready to go.

@etpinard
Copy link
Contributor

etpinard commented Mar 5, 2019

💃

@antoinerg
Copy link
Contributor

Looks good to me 💃

@archmoj archmoj merged commit 3a63b18 into master Mar 5, 2019
@archmoj archmoj deleted the flaky-less branch March 5, 2019 22:45
@archmoj archmoj mentioned this pull request Mar 23, 2019
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants